Http://william71.blogbus.com/logs/33484772.html755 on behalf of the user to the file has read, write, execute permissions, the same group of other people have the ability to execute and read, no write permission, the other user's permissions and the
Http://william71.blogbus.com/logs/33484772.htmlUnder various UNIX and Linux operating systems, each file (folder is also considered a file) is read, write, run set permissions.For example, when I use the ls-l command to list file tables, I get the
Brother Bird's Linux private dishes basic study: Whim decided to look at this book, although it is a very basic thing, but, is definitely not a waste of time, such as I finished reading after finally understand what the meaning of chmod777.
Writing
1. Use mkdir ("test", 777) to correct the error when programming
Try this:
mkdir ("Test", 0777);
Written as mkdir ("test", 777) may not be able to execute. But vaguely remember, used to be 777 without errors, specifically forgotten, anyway,
Under various UNIX and Linux operating systems, each file (folder is also considered a file) is read, write, run set permissions.For example, when I use the ls-l command to list file tables, I get the following output:-rw-r--r-- 1 bu users 2254 200
For details about chmod parameters and usage-command for setting file folder permissions: chmod [-cfvR] [-- help] [-- version] mode file... note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others.
The chmod command to modify the file and folder permissions is attached with the instance syntax: in the chmod [who] [+ |-|] [mode] file name command, each option is defined as a user, that is, the owner of a file or directory. G indicates the same
Linux, Fedora, Ubuntu modify files, folder permissions the same way. A lot of people start to get into Linux when they're having headaches with Linux file permissions issues. Here we show you how to modify Linux file-folder permissions. Take the
In linux, we need to use the linux chmod command to modify the permissions of a folder or file. Below I have written several simple examples for your reference.
Syntax: chmod [who] [+ |-| =] [mode] File Name
The meaning of each option in the command
One, the use of chown and chmod commands
directive Name: chmod
Use Rights: All users
How to use: chmod [-CFVR] [--help] [--version] Mode file ...
Description: Linux/unix file access rights are divided into three levels: file owners, groups,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.